package com.mohe.shanpao.service.user.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mohe.shanpao.dao.user.SysRoleMapper;
import com.mohe.shanpao.domain.user.SysRole;
import com.mohe.shanpao.service.GenericServiceImpl;
import com.mohe.shanpao.service.user.SysRoleService;

@Service("sysRoleService")
@Transactional
public class SysRoleServiceImpl extends GenericServiceImpl<SysRole> implements SysRoleService
{
    
    @Autowired
    private SysRoleMapper sysRoleMapper;
    
    @Override
    public SysRole selectById(Long id)
    {
        return (SysRole)sysRoleMapper.selectByPrimaryKey(id);
    }
    
}
